.header{
         background: #000;
         width: 100%;
         padding: 0;
         overflow:hidden;
}
.header2{
         background:url(../images/head_bg.jpg) repeat-x;
         height:80px;
         width: 100%;
         padding: 0;
         margin:auto;
         overflow:hidden;
}

.nav{
    margin-right: auto;
    margin-left: auto;
    width:960px;
}
.nav:before,
.nav:after {
  display: table;
  line-height: 0;
  clear: both;
} 
.nav_e a{
    color: green;
    font-weight:600;
}
.nav_g{display:inline;} /* 公司logo */
ul.topnav {
	list-style: none;
	padding: 0 20px;	
	margin: 0;
	float: left;
	width: 960px;
	font-size: 1.2em;
	/*background: #222;background: url(../images/topnav_bg.gif) repeat-x;*/
        text-align: center;
}
ul.topnav li {
	float: left;
	margin: 0;	
	padding: 0;
	position: relative; /*--Declare X and Y axis base--*/
        width: 120px;
}
ul.topnav li a{
	padding: 10px 5px;
	display: block;
	text-decoration: none;
	float: left;
        line-height:40px;
}
ul.topnav li a:hover{
	background: url(../images/topnav_hover.gif) no-repeat center top;
}

ul.topnav li span { /*--Drop down trigger styles--*/
	width: 17px;
	height: 35px;
	float: left;
        margin-top: 13px;
	background: url(../images/subnav_btn.gif) no-repeat center top;
}

.dropMenu {
	position:absolute;
	top: 0;
	z-index:100;
	width: 110px;
	visibility: hidden;
        filter: progid:DXImageTransform.Microsoft.Shadow(color=#CACACA, direction=135, strength=4);
	margin-top: -20px;
	padding-bottom:2px;
        background: #333;
} 
.dropMenu li {
	margin: 0; 
        padding: 0; 
	border-top: 1px solid #252525; /*--Create bevel effect--*/
	border-bottom: 1px solid #444; /*--Create bevel effect--*/
	clear: both;
        line-height: 25px;
}
.dropMenu a {
        color: #fff;
	float: left;
        padding: 0 0 0 5px;
}
.dropMenu a:hover {
	background: #222 url(../images/dropdown_linkbg.gif) no-repeat 10px center;
        width: 105px;
        color: green;
}

/* index header 
.nav{padding-top: 10px;background: #333 url(../tit_image/backgroud/afm_index_01.png) repeat-x bottom;width:100%;height:73px;}
*/
/*
.nav_d{height:80px;overflow:hidden;margin-top: 5px;text-align: center;}
.nav_d li{float:left;font-size:14px;width: 120px;}
.nav_d a{color:#fff;display:inline-block;}
.nav_f{height: 40px;margin-top: 15px;}
.nav_f a{line-height:40px;text-decoration:none;}
.nav_f a:hover{color: #008B00;height:60px;text-decoration:none;}
.nav_e{
    background:url(../images/nav_e_bg.jpg) no-repeat;
}
.nav_e a{
    color: red;font-weight:600;
}
*/

/*
.nag_bg_head{
    background:url(../images/index_head_start_bg.jpg) no-repeat;height:60px;width: 30px;
    margin-left: 30px;
}
.nag_bg_end{
    background:url(../images/index_head_end_bg.jpg);height:60px;width: 28px;
}
.nav_d a{color:#fff;display:inline-block;}
.nav_f a{background:url(../images/nav_bg.jpg) repeat-x;padding:0 24px;line-height:60px;text-decoration:none;width: 176;}
.nav_f a:hover{background:url(../images/index_head_focus_bg.jpg) no-repeat;height:60px;text-decoration:none;}
.nav_e a{color:red;background:url(../images/index_head_focus_bg.jpg) no-repeat;height:60px;font-weight:600;}
*/

/*-------- 下拉菜单 --------------
.dropMenu {
	position:absolute;
	top: 0;
	z-index:100;
	width: 110px;
	visibility: hidden;
        filter: progid:DXImageTransform.Microsoft.Shadow(color=#CACACA, direction=135, strength=4);
	margin-top: -20px;
	/*border: 1px solid #93E1EB;
	*border-top: 0px solid #3CA2DC;
	background: #000;*
	background:url(../images/sub_menu_bg2.jpg);
	padding-bottom:2px;
} */
/*
.dropMenu li {
	margin-top:5px;
	margin-bottom:5px;
	padding-left:2px;
}
.dropMenu a {
	width: auto;
	display: block;
	color: #FFF;
	padding: 5px 0 2px 1.2em;
        margin-left: 5px;
}
* html .dropMenu a {
	width: 100%;
}
.dropMenu a:hover {
	color:red;
	text-decoration: underline;
}
*/

/*  header 不固定的方式
#logo{
       width:60px;height:60px;
       display:block;
       background:url(../tit_image/logo1.jpg) no-repeat;
       text-indent:-99999em;
       position:absolute;top:10px;left:100px;
       -webkit-transition:all .2s ease-in-out;
       -moz-transition:all .2s ease-in-out;
       transition:all .2s ease-in-out;
}

#header,.nav{
    display:block;
}
#header{
     width:100%;height:80px;
     background:#000;
     border-color:#fff;
     position:fixed;
     top:0;
     border-bottom:1px solid rgba(255,255,255,.25);
     z-index:10;
     -webkit-transition:all .2s ease-in-out;
     -moz-transition:all .2s ease-in-out;
     -ms-transition:all .2s ease-in-out;
     transition:all .2s ease-in-out; 
}
#header .nav{
    text-align:center;
    margin-top:35px;
    -webkit-transition:margin .2s ease-in-out;
    -moz-transition:margin .2s ease-in-out;
    transition:margin .2s ease-in-out;
}
#header .nav a{
    color:#fff;
    opacity:.5;
    -webkit-transition:opacity .1s linear;
    -moz-transition:opacity .1s linear;
    transition:opacity .1s linear;
    text-transform:uppercase;
    text-shadow:0 1px 0 #fff;
    font-weight:600;
    padding:16px;
    font-size:13px;
    text-decoration:none;
    outline:0;
}
#header .nav a.current-menu-item{opacity:1}
*/

/* ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} --Hover effect for trigger--*/
ul.topnav li ul.subnav {
	list-style: none;
	position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
	left: 0; 
        top: 37px;
	background: #333;
	margin: 0; 
        padding: 0;
	display: none;
	float: left;
	width: 120px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border: 1px solid #111;
}
ul.topnav li ul.subnav li{
	margin: 0; padding: 0;
	border-top: 1px solid #252525; /*--Create bevel effect--*/
	border-bottom: 1px solid #444; /*--Create bevel effect--*/
	clear: both;
        height: 30px;
}
html ul.topnav li ul.subnav li a {
	float: left;
        padding: 0 0 0 20px;
	/*background: #333 url(../images/dropdown_linkbg.gif) no-repeat 10px center;*/
}
html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
	background: #222 url(../images/dropdown_linkbg.gif) no-repeat 10px center;
        width: 100px;
        height: 30px;
}
